FCFL.NET Common Library - API Reference
Log(LogLevel,Exception,String,Object[]) Method

The level at which to write this entry (if configured).
The exception that is related to this entry. The details of the exception will be written to the configured appender(s).
A format string with replacement parameters  that will be replaced by the args parameters.
Arguments to use in replacing variables in the format string.
Writes a log entry with the specified level (if logging for that level is enabled) with details about an exception that was caught.
Syntax
'Declaration
 
Public Overloads Sub Log( _
   ByVal level As LogLevel, _
   ByVal ex As Exception, _
   ByVal format As String, _
   ByVal ParamArray args() As Object _
) 
public void Log( 
   LogLevel level,
   Exception ex,
   string format,
   params object[] args
)

Parameters

level
The level at which to write this entry (if configured).
ex
The exception that is related to this entry. The details of the exception will be written to the configured appender(s).
format
A format string with replacement parameters  that will be replaced by the args parameters.
args
Arguments to use in replacing variables in the format string.
Remarks
For details of how string formatting works, please see the details of the String.Format method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

Logger Class
Logger Members
Overload List

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.